<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AddFinaceOrderId extends Migrator
{
    public function up()
    {
        $sql = <<<SQL
        ALTER TABLE `finance_detail`
MODIFY COLUMN `order_id`  varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '订单编号' ;


SQL;
        $this->execute($sql);
    }

    public function down()
    {
    }
}
